﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="add.aspx.cs" Inherits="SiteNavigation_Default2" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml">
<head id="Head1" runat="server">
    <link href="../css/style.css" rel="stylesheet" type="text/css" />
     <script type="text/javascript" src="../js/jquery-1.3.2.min.js"></script>
   <script>
       $(document).ready(function () {
           $("#btnBack").click(function () {
               document.location = "default.aspx";
           })
       })
    </script>
    <title></title>
</head>
<body>
    <div class="page_title">导航页面管理&nbsp; &gt; 添加导航分类</div>
    <form id="form1" runat="server">
    <div class="button_bar">
	<input type="button" class="common_button" id="btnBack" value="返回"/>
    <asp:Button ID="btnSave" CssClass="common_button" runat="server" Text="保存" 
            onclick="btnSave_Click" />
</div>
    <table class="query_form_table">
	<tr>
		<th>类型编号</th>
		<td><asp:TextBox ID="txtId" runat="server" BackColor="Silver" ReadOnly="True" 
                Visible="False" /> 
            <asp:RequiredFieldValidator ID="RequiredFieldValidator2" runat="server" 
                ErrorMessage="*" ControlToValidate="txtId" Display="Dynamic" 
                ForeColor="Red" Visible="False"></asp:RequiredFieldValidator>
        </td>
		<th>父类型</th>
		<td>
			<asp:DropDownList ID="ddlPid" runat="server">
            </asp:DropDownList>
        </td>
	</tr>
	<tr>
		<th>类型名称名称</th>
		<td><asp:TextBox ID="txtName" runat="server" /> 
            <asp:RequiredFieldValidator ID="RequiredFieldValidator1" runat="server" 
                ErrorMessage="*" ControlToValidate="txtName" Display="Dynamic" 
                ForeColor="Red"></asp:RequiredFieldValidator>
        </td>
		<th>类型状态</th>
		<td>
            <asp:RadioButton ID="rbtnNormal" value="1" runat="server" Text="正常" Checked="True" GroupName="type" 
             />
            <asp:RadioButton ID="rbtnForbidden" value="0" runat="server" Text="禁用" GroupName="type" 
              />
        </td>
	</tr>	
	<tr>
		<th>备注</th>
		<td colspan="3"><asp:TextBox ID="txtMemo" TextMode="MultiLine" runat="server" 
                Height="52px" Width="582px" /></td>
	</tr>
	</table>

    </form>
</body>
</html>
